<?php $profile = data('userData'); ?>
<!DOCTYPE html>
<html>
	<head>
		<title>Hikle</title>
		<base href="<?php echo URL; ?>" />
		<link href="files/css/style.css" rel="stylesheet" type="text/css" />
		<link href="files/css/content.css" rel="stylesheet" type="text/css" />
		<link href="files/css/header.css" rel="stylesheet" type="text/css" />
		<link href="files/css/stream.css" rel="stylesheet" type="text/css" />
		<link href="files/css/ui-lightness/jquery_ui_timepicker.css" rel="stylesheet" type="text/css" />
		<link href="files/css/ui-lightness/jquery_ui.css" rel="stylesheet" type="text/css" />
		<link href="files/css/left_column.css" rel="stylesheet" type="text/css" />
		<link href="files/css/right_column.css" rel="stylesheet" type="text/css" />
		<link href="files/css/profile.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="files/js/jquery.js"></script>
		<script type="text/javascript" src="files/js/header.js"></script>
		<script type="text/javascript" src="files/js/functions.js"></script>
		<script type="text/javascript" src="files/js/jquery_ui.js"></script>
		<script type="text/javascript" src="files/js/stream.js"></script>
		<script type="text/javascript">
			
			var userId = '<?php echo $profile['id']; ?>';
			
		</script>
		<script type="text/javascript" src="files/js/user_stream.js"></script>
	</head>
	<body>
		<?php displayView('header'); ?>
		<div id="columns">
			<?php displayView('left_column_profile'); ?>
			<div id="middleColumn">
			<div id="profileContainer">
				<div id="fullName"><?php echo ucwords($profile['name']); ?></div>
				<ul>
					<li><div class="sprite calendar"></div><span><?php echo getAge($profile['birthday']); ?> jaar</span></li>
					<?php

						if(isset($profile['sigOther'])){
							echo '<li><div class="sprite heart"></div><span><a href="' . URL . '/profile/user/' . $profile['sigOther']['id'] . '">' . translate($profile['relationshipStatus']) . ' met ' . ucwords($profile['sigOther']['name']) . '</a></span></li>'; 
						} else if($profile['relationshipStatus'] !== ''){
							echo '<li><div class="sprite heart"></div><span>' . translate($profile['relationshipStatus']) . '</span></li>';
						}

						if($profile['location'] !== ''){
							echo '<li><div class="sprite home"></div><span>Woont momenteel in ' . ucwords($profile['location']) . '</span></li>';
						}

						echo '<div class="clear"></div>';
					?>
					<div class="clear"></div>
				</ul>
			</div>
				<div id="innerContent">
					<ul id="stream">
					</ul>
				</div>
			</div>
			<?php displayView('right_column'); ?>
		</div>
	</body>
</html>